package com.arsl;

import java.sql.ResultSet;
import java.sql.SQLException;

public class Content implements IDBReaderble {
	int id;
	String type;
	String title;
	String description;
	String url;

	@Override
	public void parse(ResultSet rs) {

		try {
			id = rs.getInt("id");
			type = rs.getString("type");
			title = rs.getString("title");
			description = rs.getString("description");
			url = rs.getString("content_url");
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
